package com.great.meal.search.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import com.great.meal.search.domain.Customer;
import com.great.meal.search.domain.Hotel;
import com.great.meal.search.domain.Sender;




/**
 * @author bili
 *
 */
@Controller
public class ForwardController {
	
	@RequestMapping("/registerUser.do")
	public String register(@ModelAttribute Customer customer){
		return "registerUser";
	}
	
	@RequestMapping("/registerSender.do")
	public String registerSender(@ModelAttribute Sender sender){
		return "registerSender";
	}
	
	@RequestMapping("/registerHotel.do")
	public String registerHotel(@ModelAttribute Hotel hotel){
		return "registerHotel";
	}
	
	@RequestMapping("/userContract.do")
	public String userContract(){
		return"userContract";
	}
	
	@RequestMapping("/index.do")
	public String index(){
		return "index";
	}
	
	@RequestMapping("/login.do")
	public String login(){
		return "login";	
	}
	
	@RequestMapping("/news.do")
	public String news(){
		return "news";
	}
	@RequestMapping("/bbs.do")
	public String bbs(){
		return "bbs";
	}
	
	/**
	 * 积分兑换
	 * @return
	 */
	@RequestMapping("/count.do")
	public String count(){
		return "count";
	}
	
	@RequestMapping("/skill.do")
	public String skill(){
		return "skill";
	}
	
	@RequestMapping("/mainLayout.do")
	public String mainLayout(){
		return "mainLayout";
	}
	
	@RequestMapping("/header.do")
	public String header(){
		return "header";
	}
	
	@RequestMapping("/userInfoLeft.do")
	public String userInfoLeft(){
		return "userInfoLeft";
	}

	@RequestMapping("/userInfoRight.do")
	public String userInfoRight(){
		return "userInfoRight";
	}
	
	@RequestMapping("/userInformation.do")
	public String userInformation(){
		return "userInformation";
	}
	
	@RequestMapping("/deliveryInformation.do")
	public String deliveryInformation(){
		return "deliveryInformation";
	}
	
	@RequestMapping("/collectiveInformation.do")
	public String collectiveInformation(){
		return "collectiveInformation";
	}
	
	@RequestMapping("/cart.do")
	public String cart(){
		return "cart";
	}
	
	@RequestMapping("/unfinishedOrder.do")
	public String unfinishedOrder(){
		return "unfinishedOrder";
	}
	
	@RequestMapping("/finishedOrder.do")
	public String finishedOrder(){
		return "finishedOrder";
	}
	
	@RequestMapping("/finishingOrder.do")
	public String finishingOrder(){
		return "finishingOrder";
	}
	
	@RequestMapping("/userInfoLeft.do")
	public String totalOrder(){
		return "totalOrder";
	}
	
	@RequestMapping("/accountInformation.do")
	public String accountInfotmation(){
		return "accountInfotmation";
	}
	
	@RequestMapping("/accountRecharge.do")
	public String accountRecharge(){
		return "accountRecharge";
	}
}
